package com.bondex.charter.pojo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.v3.oas.annotations.media.Schema;

import java.math.BigDecimal;
import java.util.Map;

/**
 * 数据统计用出参
 * Created by JD on 2021/9/19.
 */
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
public class DataCountDetail {

	@Schema(description = "票量")
	private int orderCount;
//	@Schema(description = "箱型。取其中的[containerType]箱型、[countNumber]箱量字段即可")
	@Schema(description = "箱型。key箱型、value箱量")
	private Map<String, Integer> containerInfos;
	@Schema(description = "箱量 TEU")
	private BigDecimal containerTEU;
	@Schema(description = "总重 KGS")
	private BigDecimal totalWeight;

	public int getOrderCount() {
		return orderCount;
	}

	public void setOrderCount(int orderCount) {
		this.orderCount = orderCount;
	}

	public Map<String, Integer> getContainerInfos() {
		return containerInfos;
	}

	public void setContainerInfos(Map<String, Integer> containerInfos) {
		this.containerInfos = containerInfos;
	}

	public BigDecimal getContainerTEU() {
		return containerTEU;
	}

	public void setContainerTEU(BigDecimal containerTEU) {
		this.containerTEU = containerTEU;
	}

	public BigDecimal getTotalWeight() {
		return totalWeight;
	}

	public void setTotalWeight(BigDecimal totalWeight) {
		this.totalWeight = totalWeight;
	}
}
